package com.rw.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 房屋信息表
 * </p>
 *
 * @author Rabit
 * @since 2021-12-21
 */
@Data
@TableName("house_info")
public class HouseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    /**
     * 面积
     */
    @TableField("area")
    private Double area;

    /**
     * 地址
     */
    @TableField("address")
    private String address;

    /**
     * 户型
     */
    @TableField("house_type")
    private String houseType;

    /**
     * 图片
     */
    @TableField("photo")
    private String photo;

    /**
     * 介绍
     */
    @TableField("house_desc")
    private String houseDesc;

    /**
     * 房屋价格
     */
    @TableField("house_price")
    private Double housePrice;

    /**
     * 联系人id-admin_info的id
     */
    @TableField("connect_id")
    private Integer connectId;


}
